package ucm;

import client.Client;

/**
 * UCLoginManager
 *
 * Primary Actor: User
 * Goal: Login Manager
 * Precondition: Connected to database. User exists on database. User is not logged in.
 * Postcondition: User is logged into system.
 *
 * @author Tobias Robinson
 */

public class UCLoginManager {

    public UCLoginManager() {
        run();
    }

    /**
     * 1. Actor selects Login Manager.
     * 2. The system requests the actor to enter user info.
     * 4. System verifies user input.
     * 5. System updates user status.
     * 6. System notifies actor they are logged in.
     */
    public void run() {
        Client.getInstance().logIn("man");
    }

}
